package be.jabapage.snooker.jdo.competition;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import lombok.Data;

@Data
@PersistenceCapable(detachable = "true")
public class CompetitionGameFrame {

	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	@PrimaryKey
	private Long id;

	@Persistent
	private Long pointsHome;

	@Persistent
	private Long pointsAway;

	@Persistent
	private Long breakHome;

	@Persistent
	private Long breakAway;

	@Persistent
	private Long playerHome;

	@Persistent
	private Long playerAway;

}
